package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆出厂申请表
 * </p>
 *
 * @author neo
 * @since 2020-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CrmCarLeave对象", description="车辆出厂申请表")
public class CrmCarLeave implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "车辆出厂申请表")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "司机 id")
    @TableField("userid")
    private Long userid;

    @ApiModelProperty(value = "车辆id")
    @TableField("carid")
    private Long carid;

    @ApiModelProperty(value = "当前节点id")
    @TableField("current_node_id")
    private String currentNodeId;

    @ApiModelProperty(value = "状态(默认 1   1 待申报  2 已申报 /审批中  3 审批通过/执行中   4 审批驳回   5 执行终止  6  执行完毕  )")
    @TableField("status_enum_id")
    private Boolean statusEnumId;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间 ")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    private Boolean isDeleted;


}
